package cn.cymym.domain;

import java.util.Date;

public class User {
	private Integer id;
	private String userNumber;
	private String name;
	private String tel;
	private String pwd;
	private String email;
	private String qq;
	private String gender;
	private Date birthday;
	private String imgHeader;
	private String img_path;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getUserNumber() {
		return userNumber;
	}
	public void setUserNumber(String userNumber) {
		this.userNumber = userNumber;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public String getPwd() {
		return pwd;
	}
	public void setPwd(String pwd) {
		this.pwd = pwd;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getQq() {
		return qq;
	}
	public void setQq(String qq) {
		this.qq = qq;
	}
	public String getGender() {
		return gender;
	}
	public void setGender(String gender) {
		this.gender = gender;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getImgHeader() {
		return imgHeader;
	}
	public void setImgHeader(String imgHeader) {
		this.imgHeader = imgHeader;
	}
	public String getImg_path() {
		return img_path;
	}
	public void setImg_path(String img_path) {
		this.img_path = img_path;
	}
	
	
	public User() {
		super();
	}
	/**
	 * 用户注册
	 * @param userNumber 用户编号
	 * @param tel 手机号码
	 * @param pwd 密码
	 */
	public User(String userNumber, String tel, String pwd) {
		super();
		this.userNumber = userNumber;
		this.tel = tel;
		this.pwd = pwd;
	}
	/**
	 * 用户跟新保存信息
	 * @param name 姓名
	 * @param tel 手机电话
	 * @param email 邮箱
	 * @param qq QQ
	 * @param gender 性别
	 * @param birthday 生日
	 * @param userNumber 用户编号
	 */
	public User( String name, String tel, String email, String qq, String gender,
			Date birthday,String userNumber) {
		super();
		this.userNumber = userNumber;
		this.name = name;
		this.tel = tel;
		this.email = email;
		this.qq = qq;
		this.gender = gender;
		this.birthday = birthday;
	}
	public User(Integer id, String userNumber, String name, String tel, String pwd, String email, String qq,
			String gender, Date birthday, String imgHeader, String img_path) {
		super();
		this.id = id;
		this.userNumber = userNumber;
		this.name = name;
		this.tel = tel;
		this.pwd = pwd;
		this.email = email;
		this.qq = qq;
		this.gender = gender;
		this.birthday = birthday;
		this.imgHeader = imgHeader;
		this.img_path = img_path;
	}
	
	
}
